/*
 * @Description: 
 * @Author: handongliang dongliang.han@12301.cn
 * @Date: 2023-09-08 16:25:09
 * @LastEditTime: 2023-11-03 11:26:55
 */
import './index.less'
const NormalAnomaly: React.FC<any> = (props) => {
    const { normal, anomaly, style } = props
    return (
        <div className='normal-anomaly' style={style}>
            <div className='normal'>
                <div className='normal-anomaly--value'>{normal}</div>
                <div className='normal-anomaly--bar'></div>
                <div className='normal-anomaly--name'>正常</div>
            </div>
            <div className='anomaly'>
                <div className='normal-anomaly--barname'>停业</div>
                <div className='normal-anomaly--bar'></div>
                <div className='normal-anomaly--value'>{anomaly}</div>
            </div>
        </div>
    )
}
export default NormalAnomaly